package com.lq.ecoldchain.ui.register

import com.alibaba.android.arouter.facade.annotation.Route
import com.lq.ecoldchain.R
import com.lq.ecoldchain.base.BaseNavigator
import com.lq.ecoldchain.base.view.BaseActivity
import com.lq.ecoldchain.databinding.ActivityRegisterBinding
import com.lq.ecoldchain.ui.forgetpwd.pwdkodeinModule
import org.kodein.di.Kodein
import org.kodein.di.generic.instance

/*
*2018/12/22 0022  18:46
*注册 by lq
*/
@Route(path = BaseNavigator.registerActivity)
class RegisterActivity:BaseActivity<ActivityRegisterBinding>(){
    override val kodein: Kodein = Kodein.lazy {
        extend(parentKodein)
        import(registerModule)
    }

    override val viewDelegate: RegisterDelegate by instance()


    override fun initView() {
        binding.delegate = viewDelegate
        titleText("注册")
    }

    override val layoutId =  R.layout.activity_register

}